<div class="searchPanel">
	<% form_tag search_path, :method=>'get' do -%>
    	<table border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td>ПОИСК:</td>
            <td><%= text_field_tag "q", @search_text, :style=>"width: 150px; border: solid 1px #0089e1;" %></td>
            <td><%= select_tag "category", options_for_select([ ["Все категории", 0], ["Блоги", 1], ["Статьи", 2], ["Коммюнити", 3] ], @category), :style=>"border: solid 1px #0089e1;" %></td>
            <td><input type="image" src="/images/button_search.gif" value="искать" /></td>
          </tr>
        </table>
  <% end %>
</div>
